-- GENERATED SPELL FOR [Ar'kelos] --


function spell0_19494(pUnit, Event) --@Arcane Explosion,Self--
pUnit:FullCastSpellOnTarget(11975,pUnit)
pUnit:RegisterEvent('Sorts_19494', 1500, 1)
end

function Sorts_19494(pUnit, Event)
local choix_sorts_19494 = math.random(0, 0)
if choix_sorts_19494 == 0 then
pUnit:RegisterEvent('spell0_19494', 1, 1)
end
end

function mob19494_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19494', math.random(1500, 3000), 1)
end

function mob19494_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19494_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19494_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19494, 1, 'mob19494_Action')
RegisterUnitEvent(19494, 2, 'mob19494_Leave')
RegisterUnitEvent(19494, 3, 'mob19494_Kill')
RegisterUnitEvent(19494, 4, 'mob19494_Die')
